//
//  WebViewController.m
//  phoneTool
//
//  Created by HappyMilk 02 on 2017/7/31.
//  Copyright © 2017年 tomi. All rights reserved.
//

#import "WebViewController.h"
#import "LoginHeader.h"

@interface WebViewController ()
    
    
@end

@implementation WebViewController
    
- (IBAction)popvc:(UIButton *)sender {
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    _view_nav.backgroundColor = _nav_color;
    self.lab_title.text = @"";
    [_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_webUrl]]];
    SHOW_HUD(NSLocalizedStringFromTable(@"Loading...", @"BaisiPlist", nil));
}
- (void)webViewDidFinishLoad:(UIWebView *)webView{
        HIDE_HUD;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
